package cn.itcast.bos.dao.base;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import cn.itcast.bos.domain.base.Area;

public interface AreaDao extends JpaRepository<Area, String>,JpaSpecificationExecutor<Area>{
	
	@Override
	<S extends Area> List<S> save(Iterable<S> entities);
	
	@Override
	Page<Area> findAll(Specification<Area> spec, Pageable pageable);
}
